﻿using B.S.Meeting.ErrorCode;
using B.S.Meeting.ReadAPI.Dtos;
using MediatR;

namespace B.S.Meeting.ReadAPI.Applications.Commands.Users
{
    public class GetUserCommand:IRequest<APIResult<APIPaging<List<UserDto>>>>
    {
        public int PageIndex { get; set; } = 1;
        public int PageSize { get; set; } = 2;
        /// <summary>
        /// 用户编号
        /// </summary>
        public long? IDnumber { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string? UserName { get; set; }

        /// <summary>
        /// 账号状态（1启用 0禁用）
        /// </summary>
        public int? Userstatus { get; set; }

        // 会员等级（普通会员、黄金会员、白金会员、钻石会员）
        public string? MemberLevel { get; set; }
        // 消费金额
        public int? Amount { get; set; }
        // 消费金额范围
        public string? AmountRange { get; set; }
    }
}
